
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8">
       
        <meta name="keywords" content="无微不至—借阅伴侣" />
        <meta name="format-detection" content="telephone=no" />
        <meta name="viewport"
                content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">

        <literal>
        <style >html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-weight:100;vertical-align:baseline;font-style:normal}html{-webkit-tap-highlight-color:transparent}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:400;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}audio,canvas,progress,video,i{display:inline-block;vertical-align:baseline}html{margin:0 auto}body{min-width:300px;line-height:1;background:#f8f8f8;-webkit-overflow-scrolling:touch;-webkit-font-smoothing:antialiased;font-family:Arial,"Hiragino Sans GB W3","Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;font-size:16px}a{color:#333;text-decoration:none;-moz-user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.clear,.clear-all{clear:both;font-size:0;height:0;line-height:0;overflow:hidden}.fix:after,.clearfix:after{clear:both;content:" ";display:block;font-size:0;height:0;visibility:hidden}.fix,.clearfix{*zoom:1}.hidden{display:none}input[type=search]::-webkit-search-cancel-button{display:none}input{outline:0;border:0;margin:0;padding:0}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset}</style>
        <style >@font-face{font-family:FunIcon;src:url(__PUBLIC__/fonts/FunIcon_651ead981.ttf?vctchh) format('truetype'),url(__PUBLIC__/fonts/FunIcon_da97bfdde.woff?vctchh) format('woff'),url(__PUBLIC__/fonts/FunIcon_111e3102e.svg?vctchh#FunIcon) format('svg');font-weight:400;font-style:normal}[class^=i-],[class*=" i-"]{font-family:FunIcon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#888}.i-all-channel:before{content:"\e626"}.i-arrow-down:before{content:"\e60d"}.i-arrow-up:before{content:"\e60e"}.i-avatar:before{content:"\e908"}.i-back:before{content:"\e629"}.i-channel:before{content:"\e62e"}.i-check:before{content:"\e905"}.i-check-s:before{content:"\e906"}.i-down:before{content:"\e606"}.i-down-s:before{content:"\e901"}.i-forward:before{content:"\e60a"}.i-fullscreen:before{content:"\e60c"}.i-guide:before{content:"\e608"}.i-home:before{content:"\e628"}.i-kefu:before{content:"\e907"}.i-logo:before{content:"\e603"}.i-menu:before{content:"\e604"}.i-pause:before{content:"\e609"}.i-play:before{content:"\e900"}.i-pwd-hidden:before{content:"\e903"}.i-pwd-show:before{content:"\e904"}.i-refresh:before{content:"\e62f"}.i-share:before{content:"\e62d"}.i-site:before{content:"\e902"}.i-tips:before{content:"\e62c"}.i-vip:before{content:"\e909"}.i-close:before{content:"\e600"}.i-download:before{content:"\e601"}.i-history:before{content:"\e602"}.i-pengyouquan:before{content:"\e60b"}.i-search:before{content:"\e605"}.i-weibo:before{content:"\f18a"}.i-weixin:before{content:"\e607"}</style>
        <style >.f-fl{float:left}.f-fr{float:right}.f-cb:after{clear:both;content:'';display:block;height:0;overflow:hidden;visibility:hidden}.f-mgt-1{margin-top:12.5px}.f-mgb{margin-bottom:8px}.f-mgb-10{margin-bottom:10px}.f-mgb-15{margin-bottom:15px}.f-mgt-10{margin-top:10px}.f-mglr-10{margin:0 10px}.f-mglr-15{margin:0 15px}.f-pdt-1{padding-top:10px}.f-pd-10{padding:10px}.f-pdlr-10{padding:0 10px}.f-pdlr-12{padding:0 12px}.f-pdlr-15{padding:0 15px}.f-hidden{visibility:hidden;height:0;overflow:hidden}.f-no-bt{border-top:0}.f-gray{-webkit-filter:grayscale(100%);filter:grayscale(100%)}</style>
        <style >.z-1{z-index:1}.z-2{z-index:2}.z-3{z-index:3}.z-4{z-index:4}.z-5{z-index:5}.z-6{z-index:6}.z-7{z-index:7}.z-8{z-index:8}.z-9{z-index:9}.z-10{z-index:10}.z-root{z-index:100000}.z-loading{z-index:99999}.z-act{z-index:90000}.z-act-pop{z-index:80001}.z-app-head{z-index:9000}.z-app-footer{z-index:8000}.z-msg{z-index:900}.z-ad{z-index:800}.z-ad-full{z-index:80002}.z-video-mask{z-index:95000}.z-over-mask{z-index:95001}</style>
        </literal>
        <link rel="apple-touch-icon-precomposed" href="__PUBLIC__/static/img/v12/css/img/fun_5909efbbe.png">
        <link rel="dns-prefetch" href="//img.funshion.com" />
        <link href="__PUBLIC__/css/m1102.css?v=010322" rel="stylesheet" />
    <literal>
        <script type="text/javascript">
            window.F = window.F || {};
            F.config = F.config || {};
            F.config.timeStart = (new Date()).getTime();
            window._czc = window._czc || [];
        </script>
    </literal>
        <script type="text/javascript" charset="utf-8" src="__PUBLIC__/js/mcore_v12_97260e3b1.js"></script>
        
       
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/js/mtool_v12_556423612.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/js/rem_7c7ceaa44.js"></script>
</head>
    <body>
    <literal>
<style>.g-hd{width:100%;height:44px}.m-head{position:fixed;top:0;left:0;width:100%;min-width:300px;height:42px;line-height:42px;font-size:20px;background-color:#fff;border-bottom:2px solid #f86400}.m-head a.i-font{padding:0 10px}.m-head .i-channel{font-size:18px}.m-head .icons-wrap{float:right}.m-head .icons-wrap .icon-avatar{position:relative;float:left;width:20px;height:42px}.m-head .icons-wrap .icon-avatar img{position:absolute;top:50%;left:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;border-radius:50%}.m-head .i-history,.m-head .i-search,.m-head .i-avatar{float:left}.m-head .i-logo{float:left;margin-right:1px;color:#f86400}.m-head .i-arrow-down{padding-left:3px;font-size:10px}.m-head .current{color:#f86400}.m-head .logo-custom{height:42px}.m-head-s2{text-align:center}.m-head-s2 [class^=i-],.m-head-s2 [class*=i-]{position:absolute;top:0}.m-head-s2 .i-back{left:0}.m-head-s2 .i-search{right:0}.i-drop-wrap{position:fixed;top:44px;right:0;width:100%;background-color:#fff}.i-h-wrap .yes-history{padding:10px 15px 30px;display:none}.i-h-wrap .no-history{font-size:13px;line-height:60px;text-align:center;display:none}.i-h-wrap .drop-tit{margin-top:5px;padding-bottom:10px;border-bottom:1px solid #ccc;line-height:16px}.i-h-wrap .drop-tit .tit{float:left;padding-left:5px;color:#666;border-left:4px solid #f86400;font-size:16px}.i-h-wrap .i-clear-btn{float:right;font-size:12px;color:#f86400}.i-h-wrap .list{padding-top:10px;width:100%;text-align:left;border-bottom:1px solid #e1e1e1}.i-h-wrap .list a,.i-h-wrap .list b{display:block}.i-h-wrap .list a{padding-bottom:5px;font-size:13px;line-height:18px;color:#303030}.i-h-wrap .list b{padding-bottom:10px;font-size:10px;line-height:15px;color:#999}.i-nav-wrap .wrap{position:relative;margin-bottom:20px;max-height:300px;overflow-x:hidden;overflow-y:scroll}.i-nav-wrap .ch-wrap{border-top:1px solid #eee;border-left:1px solid #eee}.i-nav-wrap .ch-item{float:left;margin-right:-1px;margin-bottom:-1px;border-right:1px solid #eee;border-bottom:1px solid #eee;width:25%}.i-nav-wrap .bar{position:absolute;left:0;bottom:0;padding:4px 0;width:100%;background:#f2f2f2;text-align:center}.i-nav-wrap .bar .btn{float:left;margin-left:50%}.i-nav-wrap .bar .btn .line{display:block;margin:2px 0 2px -8px;width:16px;height:1px;background:#888}.i-nav-wrap .bar .btn::before,.i-nav-wrap .bar .btn::after{content:'';display:block;margin:2px 0 2px -8px;width:16px;height:1px;background:#888}.i-nav-wrap .bar .btn i{display:block;margin:2px 0 2px -8px;width:16px;height:1px;background:#888}.i-nav-wrap .current{background:#f2f2f2}.i-nav-wrap .img-wrap{position:relative;margin:0 auto;width:60%;height:0;padding-top:60%}.i-nav-wrap .img-wrap img{position:absolute;top:30%;left:20%;display:block;width:60%;height:60%}.i-nav-wrap .tit{text-align:center;color:#5e5e5e;white-space:nowrap;font-size:15px;line-height:30px}@media screen and (min-width:400px){.i-nav-wrap .ch-item{width:16.6666%}}@media screen and (min-width:600px){.i-nav-wrap .ch-item{width:12.5%}}@media screen and (min-width:800px){.i-nav-wrap .ch-item{width:10%}}</style>
</literal>
<header id="pageHead" class="g-hd" block="head">
    <div class="m-head m-head-s2 z-app-head">
        <a class="f-fl i-back f-pdlr-15 j-history-back"></a>
        <span>注册帐号</span>
        <a id="curNavName" href="javascript:;" class="f-pdlr-10"></a>
    </div>
</header>
<literal>
<style>body{background:#fff}.acc-kefu{margin:1.8rem 0 .8rem}.acc-kefu .content{margin:0 auto;width:3.1rem}.acc-kefu .i-kefu{margin-right:.1rem;color:#999}.acc-kefu .item{color:#999;font-size:.24rem;line-height:.36rem;text-align:center}.acc-kefu .item a{color:#999}.acc-kefu .tit{margin-bottom:.24rem;color:#999;font-size:.26rem;text-align:center}.acc-pg-wrap{position:relative;margin:0 auto;padding:0 .3rem;overflow:hidden}.acc-tit-tip{margin:.5rem 0 .2rem;line-height:.4rem;font-size:.3rem;color:#999}.acc-tit-tip span{color:#f76300}.acc-wrap{overflow:hidden;background:#fafafa;border:1px solid #d0d0d0;-ms-border-radius:3px;-o-border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.acc-row{margin-top:-1px;border-top:1px solid #d0d0d0;font-size:.32rem}.acc-row .input{width:100%;background:#fafafa;font-size:.32rem}.acc-row .input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fafafa inset}.acc-row .pwd-i-wrap,.acc-row .tel-i-wrap{margin-right:.5rem}.acc-row .code-i-wrap{margin-right:2.6rem}.acc-row .send-btn{float:right;margin-top:.14rem;margin-right:-.06rem;width:2.55rem;text-align:center;font-size:.3rem;background:#eee;height:.6rem;line-height:.6rem;-ms-border-radius:.06rem;-o-border-radius:.06rem;-moz-border-radius:.06rem;-webkit-border-radius:.06rem;border-radius:.06rem}.acc-row .send-btn.disabled{color:#999;border:1px solid #999}.acc-row .i-pwd-hidden,.acc-row .i-pwd-show{float:right;font-size:.32rem}.acc-row .i-pwd-show{color:#6aaf55}.acc-row .i-close{font-size:.24rem;color:#999;width:.5rem;text-align:center}.acc-row.state-error{color:red}.acc-center-btn{margin:.8rem auto 0;display:block;width:2.6rem;color:#fff;background:#f86400;text-align:center;border-radius:.1rem;font-size:.34rem;height:.66rem;line-height:.66rem}.acc-input-tip{padding:10px 0;line-height:24px;color:#4d4d4d}.acc-tip-pd{margin:1.6rem auto 0;width:6rem;font-size:.3rem;line-height:.4rem;color:#666;text-align:center}.acc-tip-pd .tit{width:2rem;margin:0 auto .4rem;color:#f86400;font-size:.3rem;height:.4rem;line-height:.4rem;text-align:center}.acc-tip-pd .tit i{float:left;width:.38rem;height:.38rem;background-image:url(__PUBLIC__/static/img/v12/page/account/img/bind-check_4a0a222bb.png);background-size:.38rem .38rem}.acc-input{padding:0 .25rem;line-height:.88rem}.acc-btn,.acc-btn-2{display:block;margin-top:.8rem;width:100%;height:.9rem;line-height:.9rem;font-size:.4rem;background:#f86400;border:0;text-align:center;color:#fff;-ms-border-radius:.1rem;-o-border-radius:.1rem;-moz-border-radius:.1rem;-webkit-border-radius:.1rem;border-radius:.1rem}.acc-btn.disabled,.acc-btn-2.disabled{opacity:.5}.acc-btn:active,.acc-btn-2:active{background:#d9d9d9}.acc-btn-2{height:42px;line-height:42px;background:#fff;color:#f86400;border:1px solid #f86400}.acc-agree{margin-top:.34rem;position:relative;font-size:.3rem;color:#666;cursor:pointer}.acc-agree .i-check{padding-right:.1rem;vertical-align:middle}.acc-agree .state-checked i{color:#24b01f}.acc-agree input{position:absolute;left:0;top:0;z-index:-1;visibility:hidden}.acc-agree a{text-decoration:underline;color:#999}.acc-tip-row{margin-top:.42rem;font-size:.3rem;color:#b2b2b2}.acc-tip-row.center{text-align:center}.acc-tip-row.right{text-align:right}.acc-tip-row a{color:#b2b2b2}.acc-tip-row .link{color:#f86400}.acc-error-tip{position:fixed;top:0;left:0;padding:0 .3rem;width:100%;color:#fe7839;font-size:.3rem;line-height:.75rem;background:#feece0;display:none;opacity:0}.acc-error-tip .i-tips{margin-right:.1rem;color:#fe7839}.acc-error-tip.state-show{display:inline-block}</style>
</literal>
<section id="pageWrap" class="acc-pg-wrap">
    <p class="acc-tit-tip">快速注册</p>
    <form id="validateForm" action="{:U('Login/zhuce')}" method="post">
        <div class="acc-wrap">
            <div class="acc-row">
                <div class="acc-input">
                    <i id="valClearBtn" class="ico i-close f-fr"></i>
                    <div class="yonghuname">
                        <input class="input" data-clear-btn="#valClearBtn" type="text" placeholder="请输入用户名" name="yonghuname"/>
                    </div>
                    <div class="tel-i-wrap">
                        <input class="input" data-clear-btn="#valClearBtn" type="tel" placeholder="请输入手机号" name="user_name" id="phone"/>
                    </div>
                </div>
            </div>
            <div class="acc-row">
                <div class="acc-input">
                    <i class="ico i-pwd-hidden" id="togglePwdBtn" data-show-cls="i-pwd-show"></i>
                    <div class="pwd-i-wrap">
                        <input class="input" name="pwd" type="password" maxlength="15" placeholder="请输入密码(6-15位)" id="pwdVal"/>
                    </div>
                    <div class="pwd-i-wrap">
                        <input class="input" name="repwd" type="password" maxlength="15" placeholder="请确认密码" id="pwdVal"/>
                    </div>
                </div>
            </div>
            <div class="acc-row">
                <div class="acc-input">
                    
                    <div class="code-i-wrap" id="captcha-container">
                        <input class="input" name="code" type="number" placeholder="请输入验证码"/>
                        <img src="{:U('Login/verify')}" title="点击刷新" id="code">
                    </div>
                </div>
            </div>
        </div>
        <div class="acc-agree">
            <input id="agree" type="checkbox" name="agree" checked>
            <span id="__agreement" class="state-checked" data-target="submitBtn">
                <i class="i-check"></i>同意
            </span>
            <a href="" target="_blank">《借阅伴侣用户服务协议》</a>
        </div>
        <button id="submitBtn" type="submit" class="acc-row acc-btn disabled">注册</button>
    </form>
    <p class="acc-tip-row center">已有账号？<a class="j-login-btn link" href="login.html"> 直接登录 </a></p>
</section>
<literal>
    <script language="JavaScript">
        var captcha_img = $('#captcha-container').find('img')  
        var verifyimg = captcha_img.attr("src");  
        captcha_img.attr('title', '点击刷新');  
        captcha_img.click(function(){  
            if( verifyimg.indexOf('?')>0){  
                $(this).attr("src", verifyimg+'&random='+Math.random());  
            }else{  
                $(this).attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());  
            }  
        });  
    </script>
</literal>
<literal>
<script>
function callAppJsBridge(e,t,i,n){F.debug("callAppJsBridge",e,t);var r=F.url.getQueryValue("app_code")||"mweb";if("function"==$.type(t)?(n=t,t=null):"function"==$.type(i)&&(n=i,i=null),"aphone"==r){var s=window.FunJSBridge&&window.FunJSBridge.invoke;if("function"!=$.type(s))return;var a=[e];t&&a.push(JSON.stringify(t)),s.apply(window.FunJSBridge,a)}else"iphone"==r||"ipad"==r?("json"==i&&(t={JSON_DATA:JSON.stringify(t)}),location.href="ipad"!=r||-1==navigator.userAgent.indexOf("funshionPlayer/2.0.12.2")?"toapp://"+e+(t?"?"+$.param(t):""):"funtv://"+e+(t?"?"+$.param(t):"")):n&&n(e,t)}function rhex(e){for(var t="",i="0123456789abcdef",n=0;3>=n;n++)t+=i.charAt(e>>8*n+4&15)+i.charAt(e>>8*n&15);return t}function str2blks_MD5(e){for(var t=(e.length+8>>6)+1,i=new Array(16*t),n=0;16*t>n;n++)i[n]=0;for(var n=0;n<e.length;n++)i[n>>2]|=e.charCodeAt(n)<<n%4*8;return i[n>>2]|=128<<n%4*8,i[16*t-2]=8*e.length,i}function add(e,t){var i=(65535&e)+(65535&t),n=(e>>16)+(t>>16)+(i>>16);return n<<16|65535&i}function rol(e,t){return e<<t|e>>>32-t}function cmn(e,t,i,n,r,s){return add(rol(add(add(t,e),add(n,s)),r),i)}function ff(e,t,i,n,r,s,a){return cmn(t&i|~t&n,e,t,r,s,a)}function gg(e,t,i,n,r,s,a){return cmn(t&n|i&~n,e,t,r,s,a)}function hh(e,t,i,n,r,s,a){return cmn(t^i^n,e,t,r,s,a)}function ii(e,t,i,n,r,s,a){return cmn(i^(t|~n),e,t,r,s,a)}function MD5(e){for(var t,i,n,r,s=str2blks_MD5(e),a=1732584193,o=-271733879,u=-1732584194,d=271733878,l=0;l<s.length;l+=16)t=a,i=o,n=u,r=d,a=ff(a,o,u,d,s[l+0],7,-680876936),d=ff(d,a,o,u,s[l+1],12,-389564586),u=ff(u,d,a,o,s[l+2],17,606105819),o=ff(o,u,d,a,s[l+3],22,-1044525330),a=ff(a,o,u,d,s[l+4],7,-176418897),d=ff(d,a,o,u,s[l+5],12,1200080426),u=ff(u,d,a,o,s[l+6],17,-1473231341),o=ff(o,u,d,a,s[l+7],22,-45705983),a=ff(a,o,u,d,s[l+8],7,1770035416),d=ff(d,a,o,u,s[l+9],12,-1958414417),u=ff(u,d,a,o,s[l+10],17,-42063),o=ff(o,u,d,a,s[l+11],22,-1990404162),a=ff(a,o,u,d,s[l+12],7,1804603682),d=ff(d,a,o,u,s[l+13],12,-40341101),u=ff(u,d,a,o,s[l+14],17,-1502002290),o=ff(o,u,d,a,s[l+15],22,1236535329),a=gg(a,o,u,d,s[l+1],5,-165796510),d=gg(d,a,o,u,s[l+6],9,-1069501632),u=gg(u,d,a,o,s[l+11],14,643717713),o=gg(o,u,d,a,s[l+0],20,-373897302),a=gg(a,o,u,d,s[l+5],5,-701558691),d=gg(d,a,o,u,s[l+10],9,38016083),u=gg(u,d,a,o,s[l+15],14,-660478335),o=gg(o,u,d,a,s[l+4],20,-405537848),a=gg(a,o,u,d,s[l+9],5,568446438),d=gg(d,a,o,u,s[l+14],9,-1019803690),u=gg(u,d,a,o,s[l+3],14,-187363961),o=gg(o,u,d,a,s[l+8],20,1163531501),a=gg(a,o,u,d,s[l+13],5,-1444681467),d=gg(d,a,o,u,s[l+2],9,-51403784),u=gg(u,d,a,o,s[l+7],14,1735328473),o=gg(o,u,d,a,s[l+12],20,-1926607734),a=hh(a,o,u,d,s[l+5],4,-378558),d=hh(d,a,o,u,s[l+8],11,-2022574463),u=hh(u,d,a,o,s[l+11],16,1839030562),o=hh(o,u,d,a,s[l+14],23,-35309556),a=hh(a,o,u,d,s[l+1],4,-1530992060),d=hh(d,a,o,u,s[l+4],11,1272893353),u=hh(u,d,a,o,s[l+7],16,-155497632),o=hh(o,u,d,a,s[l+10],23,-1094730640),a=hh(a,o,u,d,s[l+13],4,681279174),d=hh(d,a,o,u,s[l+0],11,-358537222),u=hh(u,d,a,o,s[l+3],16,-722521979),o=hh(o,u,d,a,s[l+6],23,76029189),a=hh(a,o,u,d,s[l+9],4,-640364487),d=hh(d,a,o,u,s[l+12],11,-421815835),u=hh(u,d,a,o,s[l+15],16,530742520),o=hh(o,u,d,a,s[l+2],23,-995338651),a=ii(a,o,u,d,s[l+0],6,-198630844),d=ii(d,a,o,u,s[l+7],10,1126891415),u=ii(u,d,a,o,s[l+14],15,-1416354905),o=ii(o,u,d,a,s[l+5],21,-57434055),a=ii(a,o,u,d,s[l+12],6,1700485571),d=ii(d,a,o,u,s[l+3],10,-1894986606),u=ii(u,d,a,o,s[l+10],15,-1051523),o=ii(o,u,d,a,s[l+1],21,-2054922799),a=ii(a,o,u,d,s[l+8],6,1873313359),d=ii(d,a,o,u,s[l+15],10,-30611744),u=ii(u,d,a,o,s[l+6],15,-1560198380),o=ii(o,u,d,a,s[l+13],21,1309151649),a=ii(a,o,u,d,s[l+4],6,-145523070),d=ii(d,a,o,u,s[l+11],10,-1120210379),u=ii(u,d,a,o,s[l+2],15,718787259),o=ii(o,u,d,a,s[l+9],21,-343485551),a=add(a,t),o=add(o,i),u=add(u,n),d=add(d,r);return rhex(a)+rhex(o)+rhex(u)+rhex(d)}function getPuParams(e){return e=e||{},$.extend({},{app_code:F.url.getQueryValue("app_code")||"mweb",timestamp:parseInt((new Date).getTime()/1e3)},e)}!function(){var e=location.pathname;switch(e){case"/account/bind_phone":F.config.ctrlname="account_bind_phone",document.title="绑定手机";break;case"/account/bind_ok":F.config.ctrlname="account_bind_ok",document.title="绑定手机";break;case"/account/rebind":F.config.ctrlname="account_rebind",document.title="绑定手机";break;case"/account/rebind_phone":F.config.ctrlname="account_rebind_phone",document.title="绑定手机";break;case"/account/rebind_ok":F.config.ctrlname="account_rebind_ok",document.title="绑定手机";break;case"/account/password_update":F.config.ctrlname="account_password",document.title="修改密码";break;case"/account/login":F.config.ctrlname="account_login",document.title="登录";break;case"/account/reg":case"/account/register.html":F.config.ctrlname="account_register",document.title="注册";break;case"/account/password":case"/account/password.html":F.config.ctrlname="account_password",document.title="找回密码";break;case"/account/password_mail":case"/account/password_mail.html":F.config.ctrlname="account_password_mail",document.title="邮箱找回密码";break;case"/account/password_mobile":case"/account/password_mobile.html":F.config.ctrlname="account_password_mobile",document.title="手机找回密码";break;case"/account/password_reset":case"/account/password_reset.html":F.config.ctrlname="account_password_reset",document.title="重置密码"}}(),!function(){function e(){var e=$("[data-hd-icons]"),t=F.user.userInfo&&F.user.userInfo.user_icon,i=t&&(t.orig||t.small),n=["<%if userId %>","<%if userIcon %>",'<a class="icon-avatar f-pdlr-12" href="/home"><img src="<%userIcon%>" alt=""></a>',"<%else%>",'<a class="i-avatar f-pdlr-12" href="/home"></a>',"<%/if%>","<%else%>",'<a class="i-avatar f-pdlr-12" href="/account/login"></a>',"<%/if%>"].join("");$(F.tpl.render(n)({userId:F.user.userId,userIcon:i})).appendTo(e)}function t(e){return e=e||{},$.extend({},{app_code:F.url.getQueryValue("app_code")||"mweb",timestamp:parseInt((new Date).getTime()/1e3)},e)}function i(e){return e=e||{},$.extend({},{cl:F.url.getQueryValue("app_code")||"mweb",ve:F.url.getQueryValue("version")||"",uc:F.url.getQueryValue("uc")||F.config.uc,si:F.config.malliance,ctime:parseInt((new Date).getTime()/1e3)},e)}F.user=F.user||{},F.user.update=function(t){try{var i=F.cookie.get("vipInfo"),n=F.cookie.get("user"),r=F.cookie.get("accInfo");i&&(i=JSON.parse(i)),n&&(n=JSON.parse(n)),r&&(r=JSON.parse(r)),F.user.userId=0,F.user.vipInfo=null,F.user.userInfo=null,!n||!t&&i&&r&&n.user_id==r.user_id?(F.user.userId=r.user_id,F.user.vipInfo=i,F.user.userInfo=$.extend(r,n),$.send(F.EventCenter.LOGIN_STATE_CHANGE),$(function(){e()})):F.user.verifyLogin(n)}catch(s){}},F.user.verifyLogin=function(n){var r=t($.extend({fudid:F.config.fck},n));F.request(F.config.pu+"/is_login",r,function(r){if(200!=r.code)return e();var s=[];s.push(F.request(F.config.pu+"/user/getuserinfo",t(n))),s.push(F.request(F.config.pvip+"/v1/vip/userinfo",i(n))),$.when.apply($,s).done(function(e,t){return F.cookie.set("accInfo",JSON.stringify(e[0]),-1),F.cookie.set("vipInfo",JSON.stringify(t[0].data),-1),!0}).always(function(e){return F.user.update(),200!=e.code?!1:void 0})})},F.user.loginOut=function(){var e=t({fudid:F.config.fck,user_id:F.user.userId,token:F.user.userInfo&&F.user.userInfo.token});F.request(F.config.pu+"/user/logout",e),F.cookie.del("user"),F.cookie.del("accInfo"),F.cookie.del("vipInfo"),F.user.update()},F.user.update()}(),!function(){$("#curNavName").text(document.title)}(),F.ready(function(){window.scrollTo(0,0);var e=$(".j-history-back"),t="/";window.history&&history.length>1&&(t="javascript:history.back()"),e.attr("href",t)}),!function(e){e.extend(e.fn,{validate:function(t){if(!this.length)return void(t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var i=e(this[0]).prop("validator");return i?i:(this.attr("novalidate","novalidate"),i=new e.validator(t,this[0]),e(this[0]).prop("validator",i),i.settings.onsubmit&&(this.validateDelegate("[type='submit']","click",function(t){i.settings.submitHandler&&(i.submitButton=t.target),e(t.target).hasClass("cancel")&&(i.cancelSubmit=!0);var n=e(t.target).attr("formnovalidate");n&&void 0!==n&&(i.cancelSubmit=!0)}),this.submit(function(t){function n(){var n,r;return i.settings.submitHandler?(i.submitButton&&(n=e("<input type='hidden'/>").attr("name",i.submitButton.name).val(e(i.submitButton).val()).appendTo(i.currentForm)),r=i.settings.submitHandler.call(i,i.currentForm,t),i.submitButton&&n.remove(),void 0!==r?r:!1):!0}return i.settings.debug&&t.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,n()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):n():(i.focusInvalid(),!1)})),i)},valid:function(){var t,i;return e(this[0]).is("form")?t=this.validate().form():(t=!0,i=e(this[0].form).validate(),this.each(function(){t=i.element(this)&&t})),t},removeAttrs:function(t){var i={},n=this;return e.each(t.split(/\s/),function(e,t){i[t]=n.attr(t),n.removeAttr(t)}),i},rules:function(t,i){var n,r,s,a,o,u,d=this[0];if(t)switch(n=e(d.form).prop("validator").settings,r=n.rules,s=e.validator.staticRules(d),t){case"add":e.extend(s,e.validator.normalizeRule(i)),delete s.messages,r[d.name]=s,i.messages&&(n.messages[d.name]=e.extend(n.messages[d.name],i.messages));break;case"remove":return i?(u={},e.each(i.split(/\s/),function(t,i){u[i]=s[i],delete s[i],"required"===i&&e(d).removeAttr("aria-required")}),u):(delete r[d.name],s)}return a=e.validator.normalizeRules(e.extend({},e.validator.classRules(d),e.validator.attributeRules(d),e.validator.dataRules(d),e.validator.staticRules(d)),d),a.required&&(o=a.required,delete a.required,a=e.extend({required:o},a),e(d).attr("aria-required","true")),a.remote&&(o=a.remote,delete a.remote,a=e.extend(a,{remote:o})),a}}),e.extend(e.expr[":"],{blank:function(t){return!e.trim(""+e(t).val())},filled:function(t){return!!e.trim(""+e(t).val())},unchecked:function(t){return!e(t).prop("checked")}}),e.validator=function(t,i){this.settings=e.extend(!0,{},e.validator.defaults,t),this.currentForm=i,this.init()},e.validator.format=function(t,i){return 1===arguments.length?function(){var i=[].slice.call(arguments[0]);return i.unshift(t),e.validator.format.apply(this,i)}:(arguments.length>2&&i.constructor!==Array&&(i=[].slice.call(arguments).slice(1)),i.constructor!==Array&&(i=[i]),e.each(i,function(e,i){t=t.replace(new RegExp("\\{"+e+"\\}","g"),function(){return i})}),t)},e.extend(e.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:e([]),errorLabelContainer:e([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(e)))},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element(e)},onkeyup:function(e,t){(9!==t.which||""!==this.elementValue(e))&&(e.name in this.submitted||e===this.lastElement)&&this.element(e)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(t,i,n){"radio"===t.type?this.findByName(t.name).addClass(i).removeClass(n):e(t).addClass(i).removeClass(n)},unhighlight:function(t,i,n){"radio"===t.type?this.findByName(t.name).removeClass(i).addClass(n):e(t).removeClass(i).addClass(n)}},setDefaults:function(t){e.extend(e.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date ( ISO ).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:e.validator.format("Please enter no more than {0} characters."),minlength:e.validator.format("Please enter at least {0} characters."),rangelength:e.validator.format("Please enter a value between {0} and {1} characters long."),range:e.validator.format("Please enter a value between {0} and {1}."),max:e.validator.format("Please enter a value less than or equal to {0}."),min:e.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function t(t){var i=e(this[0].form).prop("validator"),n="on"+t.type.replace(/^validate/,""),r=i.settings;r[n]&&!this.is(r.ignore)&&r[n].call(i,this[0],t)}this.labelContainer=e(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||e(this.currentForm),this.containers=e(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i,n=this.groups={};e.each(this.settings.groups,function(t,i){"string"==typeof i&&(i=i.split(/\s/)),e.each(i,function(e,i){n[i]=t})}),i=this.settings.rules,e.each(i,function(t,n){i[t]=e.validator.normalizeRule(n)}),e(this.currentForm).validateDelegate("[type='text'], [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox']","focusin focusout keyup",t).validateDelegate("select, option, [type='radio'], [type='checkbox']","click",t),this.settings.invalidHandler&&e(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler),e(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),e.extend(this.submitted,this.errorMap),this.invalid=e.extend({},this.errorMap),this.valid()||e(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(t){var i=this.clean(t),n=this.validationTargetFor(i),r=!0;return this.lastElement=n,void 0===n?delete this.invalid[i.name]:(this.prepareElement(n),this.currentElements=e(n),r=this.check(n)!==!1,r?delete this.invalid[n.name]:this.invalid[n.name]=!0),e(t).attr("aria-invalid",!r),this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),r},showErrors:function(t){if(t){e.extend(this.errorMap,t),this.errorList=[];for(var i in t)this.errorList.push({message:t[i],element:this.findByName(i)[0]});this.successList=e.grep(this.successList,function(e){return!(e.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){e.fn.resetForm&&e(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue").removeAttr("aria-invalid")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t,i=0;for(t in e)i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(e){e.not(this.containers).text(""),this.addWrapper(e).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{e(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(t){}},findLastActive:function(){var t=this.lastActive;return t&&1===e.grep(this.errorList,function(e){return e.element.name===t.name}).length&&t},elements:function(){var t=this,i={};return e(this.currentForm).find("input, select, textarea").not("[type='submit'],[type='image'],[disabled], [readonly]").not(this.settings.ignore).filter(function(){return!this.name&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in i||!t.objectLength(e(this).rules())?!1:(i[this.name]=!0,!0)})},clean:function(t){return e(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return e(this.settings.errorElement+"."+t,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=e([]),this.toHide=e([]),this.currentElements=e([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},elementValue:function(t){var i,n=e(t),r=t.type;return"radio"===r||"checkbox"===r?e("input[name='"+t.name+"']:checked").val():"number"===r&&"undefined"!=typeof t.validity?t.validity.badInput?!1:n.val():(i=n.val(),"string"==typeof i?i.replace(/\r/g,""):i)},check:function(t){t=this.validationTargetFor(this.clean(t));var i,n,r,s=e(t).rules(),a=e.map(s,function(e,t){return t}).length,o=!1,u=this.elementValue(t);for(n in s){r={method:n,parameters:s[n]};try{if(i=e.validator.methods[n].call(this,u,t,r.parameters),"dependency-mismatch"===i&&1===a){o=!0;continue}if(o=!1,"pending"===i)return this.toHide=this.toHide.not(this.errorsFor(t)),!1;if(!i)return this.formatAndAdd(t,r),!1}catch(d){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+r.method+"' method.",d),d}}return o?void 0:(this.objectLength(s)&&this.successList.push(t),!0)},customDataMessage:function(t,i){return e(t).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||e(t).data("msg")||e(t).data("data-msg-"+i)},customMessage:function(e,t){var i=this.settings.messages[e];return i&&(i.constructor===String?i:i[t])},findDefined:function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e];return void 0},defaultMessage:function(t,i){return this.findDefined(this.customMessage(t.name,i),this.customDataMessage(t,i),!this.settings.ignoreTitle&&t.title||void 0,e.validator.messages[i],"<strong>Warning: No message defined for "+t.name+"</strong>")},formatAndAdd:function(t,i){var n=this.defaultMessage(t,i.method),r=/\$?\{(\d+)\}/g;"function"==typeof n?n=n.call(this,i.parameters,t):r.test(n)&&(n=e.validator.format(n.replace(r,"{$1}"),i.parameters)),this.errorList.push({message:n,element:t,method:i.method}),this.errorMap[t.name]=n,this.submitted[t.name]=n},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){var e,t,i;for(e=0;this.errorList[e];e++)i=this.errorList[e],this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return e(this.errorList).map(function(){return this.element})},showLabel:function(t,i){var n,r,s,a=this.errorsFor(t),o=this.idOrName(t),u=e(t).attr("aria-describedby");a.length?(a.removeClass(this.settings.validClass).addClass(this.settings.errorClass),a.html(i)):(a=e("<"+this.settings.errorElement+">").attr("id",o+"-error").addClass(this.settings.errorClass).html(i||""),n=a,this.settings.wrapper&&(n=a.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(n):this.settings.errorPlacement?this.settings.errorPlacement(n,e(t)):n.insertAfter(t),a.is("label")?a.attr("for",o):0===a.parents("label[for='"+o+"']").length&&(s=a.attr("id").replace(/(:|\.|\[|\])/g,"\\$1"),u?u.match(new RegExp("\\b"+s+"\\b"))||(u+=" "+s):u=s,e(t).attr("aria-describedby",u),r=this.groups[t.name],r&&e.each(this.groups,function(t,i){i===r&&e("[name='"+t+"']",this.currentForm).attr("aria-describedby",a.attr("id"))}))),!i&&this.settings.success&&(a.text(""),"string"==typeof this.settings.success?a.addClass(this.settings.success):this.settings.success(a,t)),this.toShow=this.toShow.add(a)},errorsFor:function(t){var i=this.idOrName(t),n=e(t).attr("aria-describedby"),r="label[for='"+i+"'], label[for='"+i+"'] *";return n&&(r=r+", #"+n.replace(/\s+/g,", #")),this.errors().filter(r)},idOrName:function(e){return this.groups[e.name]||(this.checkable(e)?e.name:e.id||e.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),e(t).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(t){return e(this.currentForm).find("[name='"+t+"']")},getLength:function(t,i){switch(i.nodeName.toLowerCase()){case"select":return e("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return t.length},depend:function(e,t){return this.dependTypes[typeof e]?this.dependTypes[typeof e](e,t):!0},dependTypes:{"boolean":function(e){return e},string:function(t,i){return!!e(t,i.form).length},"function":function(e,t){return e(t)}},optional:function(t){var i=this.elementValue(t);return!e.validator.methods.required.call(this,i,t)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,this.pending[e.name]=!0)},stopRequest:function(t,i){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(e(this.currentForm).submit(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(e(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t){return e(t).prop("previousValue")||e(t).prop("previousValue",{old:null,valid:!0,message:this.defaultMessage(t,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,i){t.constructor===String?this.classRuleSettings[t]=i:e.extend(this.classRuleSettings,t)},classRules:function(t){var i={},n=e(t).attr("class");return n&&e.each(n.split(" "),function(){this in e.validator.classRuleSettings&&e.extend(i,e.validator.classRuleSettings[this])}),i},attributeRules:function(t){var i,n,r={},s=e(t),a=t.getAttribute("type");for(i in e.validator.methods)"required"===i?(n=t.getAttribute(i),""===n&&(n=!0),n=!!n):n=s.attr(i),/min|max/.test(i)&&(null===a||/number|range|text/.test(a))&&(n=null===n||""===n?"undefined":n,n=Number(n)),n||0===n?r[i]=n:a===i&&"range"!==a&&(r[i]=!0);return r.maxlength&&/-1|2147483647|524288/.test(r.maxlength)&&delete r.maxlength,r},dataRules:function(t){var i,n,r={},s=e(t);for(i in e.validator.methods)n=s.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()),void 0!==n&&(r[i]=n);return r},staticRules:function(t){var i={},n=e(t.form).prop("validator");return n.settings.rules&&(i=e.validator.normalizeRule(n.settings.rules[t.name])||{}),i},normalizeRules:function(t,i){return e.each(t,function(n,r){if(r===!1)return void delete t[n];if(r.param||r.depends){var s=!0;switch(typeof r.depends){case"string":s=!!e(r.depends,i.form).length;break;case"function":s=r.depends.call(i,i)}s?t[n]=void 0!==r.param?r.param:!0:delete t[n]}}),e.each(t,function(n,r){t[n]=e.isFunction(r)?r(i):r}),e.each(["minlength","maxlength"],function(){t[this]&&(t[this]=Number(t[this]))}),e.each(["rangelength","range"],function(){var i;t[this]&&(e.isArray(t[this])?t[this]=[Number(t[this][0]),Number(t[this][1])]:"string"==typeof t[this]&&(i=t[this].replace(/[\[\]]/g,"").split(/[\s,]+/),t[this]=[Number(i[0]),Number(i[1])]))}),e.validator.autoCreateRanges&&(null!=t.min&&null!=t.max&&(t.range=[t.min,t.max],delete t.min,delete t.max),null!=t.minlength&&null!=t.maxlength&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t},normalizeRule:function(t){if("string"==typeof t){var i={};e.each(t.split(/\s/),function(){i[this]=!0}),t=i}return t},addMethod:function(t,i,n){e.validator.methods[t]=i,e.validator.messages[t]=void 0!==n?n:e.validator.messages[t],i.length<3&&e.validator.addClassRules(t,e.validator.normalizeRule(t))},methods:{required:function(t,i,n){if(!this.depend(n,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var r=e(i).val();return r&&r.length>0}return this.checkable(i)?this.getLength(t,i)>0:e.trim(t).length>0},email:function(e,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},url:function(e,t){return this.optional(t)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(e)},date:function(e,t){return this.optional(t)||!/Invalid|NaN/.test(new Date(e).toString())},dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e,t){return this.optional(t)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},creditcard:function(e,t){if(this.optional(t))return"dependency-mismatch";if(/[^0-9 \-]+/.test(e))return!1;var i,n,r=0,s=0,a=!1;if(e=e.replace(/\D/g,""),e.length<13||e.length>19)return!1;for(i=e.length-1;i>=0;i--)n=e.charAt(i),s=parseInt(n,10),a&&(s*=2)>9&&(s-=9),r+=s,a=!a;return r%10===0},minlength:function(t,i,n){var r=e.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||r>=n},maxlength:function(t,i,n){var r=e.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||n>=r},rangelength:function(t,i,n){var r=e.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||r>=n[0]&&r<=n[1]},min:function(e,t,i){return this.optional(t)||e>=i},max:function(e,t,i){return this.optional(t)||i>=e},range:function(e,t,i){return this.optional(t)||e>=i[0]&&e<=i[1]},equalTo:function(t,i,n){var r=e(n);return this.settings.onfocusout&&r.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){e(i).valid()}),t===r.val()},remote:function(t,i,n){if(this.optional(i))return"dependency-mismatch";var r,s,a=this.previousValue(i);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),a.originalMessage=this.settings.messages[i.name].remote,this.settings.messages[i.name].remote=a.message,n="string"==typeof n&&{url:n}||n,a.old===t?a.valid:(a.old=t,r=this,this.startRequest(i),s={},s[i.name]=t,e.ajax(e.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:s,context:r.currentForm,success:function(n){var s,o,u,d=n===!0||"true"===n||200==n.code;if(r.settings.messages[i.name].remote=a.originalMessage,d)u=r.formSubmitted,r.prepareElement(i),r.formSubmitted=u,r.successList.push(i),delete r.invalid[i.name],r.showErrors();else{s={};var l=r.defaultMessage(i,"remote");o=(e.isPlainObject(l)?l[n.code]:l)||n.msg,s[i.name]=a.message=e.isFunction(o)?o(t):o,r.invalid[i.name]=!0,r.showErrors(s)}a.valid=d,r.stopRequest(i,d)}},n)),"pending")}}}),e.format=function(){throw"$.format has been deprecated. Please use $.validator.format instead."};var t,i={};e.ajaxPrefilter?e.ajaxPrefilter(function(e,t,n){var r=e.port;"abort"===e.mode&&(i[r]&&i[r].abort(),i[r]=n)}):(t=e.ajax,e.ajax=function(n){var r=("mode"in n?n:e.ajaxSettings).mode,s=("port"in n?n:e.ajaxSettings).port;return"abort"===r?(i[s]&&i[s].abort(),i[s]=t.apply(this,arguments),i[s]):t.apply(this,arguments)}),e.extend(e.fn,{validateDelegate:function(t,i,n){return this.bind(i,function(i){var r=e(i.target);return r.is(t)?n.apply(r,arguments):void 0})}}),Zepto.validator.addMethod("regexp",function(e,t,i){return i.constructor!=RegExp?i=new RegExp(i):i.global&&(i.lastIndex=0),this.optional(t)||i.test(e)})}(Zepto),$(function(){var e=function(){return{MAP_COMMON:{500:"连接服务器失败",1e3:"未知错误",1001:"app_code错误",1002:"用户ID错误",1003:"用户名错误",1004:"密码错误",1005:"原始密码错误",1006:"新密码错误",1007:"确认密码错误",1008:"token错误",1009:"手机号错误",1010:"邮箱错误",1011:"类型错误",1012:"内容格式错误",1013:"验证码错误",1014:"无效链接",1015:"up信息错误",1016:"upc信息错误",1017:"onc信息错误",1018:"pc信息错误",1019:"key信息错误",1020:"fudid信息错误",1021:"sign信息错误",1022:"用户头像不可用",1023:"用户名或userid错误",1024:"设备code错误",1025:"时间戳错误",1026:"opd信息错误",1027:"pc信息错误",1101:"用户名最大长度64字节",1102:"邮箱最大长度64字节",1103:"内容长度过长",1104:"昵称长度过长",1105:"真实姓名过长",1201:"用户名格式错误",1202:"邮箱格式错误",1203:"手机号格式错误",1204:"密码长度介于6至64字节",1205:"生日格式错误",1206:"用户名格式错误",1207:"密码格式错误",1301:"token验证失败",1302:"验证码错误",1303:"内容未包含%verifycode%",1304:"密码错误",1305:"新密码和确认密码不一样",1306:"新密码和旧密码相同",1307:"链接失效",1308:"链接已被用",1309:"token和sign不能都为空",1401:"用户名不存在",1402:"用户名已注册",1403:"用户名未注册",1404:"验证码数量超上限",1405:"已绑定邮箱",1406:"未绑定邮箱",1407:"已绑定手机号",1408:"未绑定手机号",1409:"未绑定此手机号",1410:"手机号已绑定",1411:"手机号未绑定",1412:"账号已锁定，请联系客服",1413:"发送验证码失败",1414:"设备已被激活",1423:"设备超出上限，请联系客服010-82498208"},countTime:60,clsDisabled:"disabled",forbiddenSubmit:!1,mapTip:function(e){return $.isPlainObject(e)?this.MAP_COMMON[e.code]||"":e},showTip:function(e){if(e=this.mapTip(e),""!=e){var t=this.$tip;t&&t.length||(this.$tip=$('<p class="acc-error-tip"></p>').prependTo(this.$wrap)),this.$tip.html('<i class="i-tips"></i>'+e),this.$tip.css({opacity:1,transform:"scale(1)",top:$(".m-head").height()}).addClass("state-show")}},hideTip:function(){var e=this.$tip;e&&e.length&&e.removeClass("state-show")},getVerifyCode:function(e,t,i){var n=$(e),r={1:"手机注册",2:"手机验证码登录",3:"绑定手机号",4:"解绑手机号",5:"找回密码"},s={400:"获取验证码参数错误，请联系客服",403:"发送验证码超过次数限制,请稍后重试",405:"手机已经被绑定",406:"手机未绑定"},a=this,o={phone:$.trim(t.tel||this.$phone.val()),user_id:F.user.userId,content:"尊敬的用户，您正在进行"+r[t.type]+"操作，验证码为：%verifycode%，有效期30分钟。"},u=$.extend(o,t,getPuParams());n.addClass(this.clsDisabled),F.request(F.config.pu+"/user/sendphonecode",u,null,{type:"POST",timeout:1e4,contentType:"application/x-www-form-urlencoded; charset=UTF-8"}).always(function(e){e&&200==e.code?a.countdown(n):(n.removeClass(a.clsDisabled),a.showTip(e.code&&(s[e.code]||a.MAP_COMMON[e.code])||"获取验证码失败")),i&&i(e)})},countdown:function(e){var t=this;--this.countTime,this.countTime?(e.text(this.countTime+"s后重新获取 "),setTimeout(function(){t.countdown(e)},1e3)):(e.text("点击获取验证码"),e.removeClass(this.clsDisabled),this.countTime=60)},handleLoginStatusChange:function(e){$.add(F.EventCenter.LOGIN_STATE_CHANGE,function(){e&&e()})},initRebindSteps:function(e){e=e||F.config.ctrlname,$('[data-rebind-step="'+e+'"]').addClass("on").siblings().removeClass("on")},encodePassword:function(e){return F.util.hex_sha1(e).substr(0,15)},checkSubmitTimer:0,checkSubmitEnabled:function(){clearTimeout(this.checkSubmitTimer);var e=this;this.checkSubmitTimer=setTimeout(function(){e.validator&&(e.validator.checkForm()?e.$submitBtn.removeClass(e.clsDisabled).data("error",null):e.$submitBtn.addClass(e.clsDisabled).data("error",1))
},100)},bindTogglePwd:function(){$("[data-show-cls]").on("tap",function(){var e=$(this),t=e.parent(),i=t.find("input"),n=e.data("show-cls");"password"==i.attr("type")?(i.attr("type","text"),e.addClass(n)):(i.attr("type","password"),e.removeClass(n))})},bindReLogin:function(){$(document).on("tap",".j-login-btn",function(){callAppJsBridge("toPageLogin",function(){location.href="/account/login"})})},bindInputClear:function(){var e=this;this.$form.find("input[data-clear-btn]").each(function(){var t=$(this),i=t.data("clear-btn");if(i){var n=$(i);e.toggleClearBtn(t,n),t.on("keyup change",function(){e.toggleClearBtn(t,n)}),n.tap(function(){t.val(""),n.hide(),e.checkSubmitEnabled()})}})},bindSendCode:function(e){var t=this;this.$sendCode.on("tap",function(){return $(this).hasClass(t.clsDisabled)?void 0:e.tel||t.validator.check(t.$phone)?void t.getVerifyCode(this,{type:e.type,tel:e.tel}):t.validator.form()})},toggleClearBtn:function(e,t){e.val()?t.show():t.hide()},bindForm:function(){var e=this;this.validator=this.$form.validate({rules:e.rules,messages:e.messages,onkeyup:$.proxy(e.checkSubmitEnabled,e),showErrors:function(t,i){i.length?e.showTip(i[0].message):e.hideTip()},submitHandler:function(){return e.forbiddenSubmit?!1:($("input").blur(),e.forbiddenSubmit=!0,e.$submitBtn.addClass(e.clsDisabled),e.submitHandler&&e.submitHandler(function(){e.forbiddenSubmit=!1,e.$submitBtn.removeClass(e.clsDisabled)}),!1)}}),this.$form.on("change",function(){e.checkSubmitEnabled()})},successTpl:function(e,t){var i='<div class="acc-tip-pd"><p class="tit"><i></i>恭喜您！</p><p>'+e+"</p></div>"+(t?'<a class="acc-center-btn" href="/home">点击返回</a>':"");this.$wrap.html(i)}}}(),t=$.extend(e,{init:function(){this.initVars(),this.bindEvent()},initVars:function(){this.$wrap=$("#pageWrap"),this.$form=$("#validateForm"),this.$phone=$("#phone"),this.$sendCode=$("#sendCodeBtn"),this.$submitBtn=$("#submitBtn"),this.rules={user_name:{required:!0,regexp:/^1\d{10}$/,remote:{url:F.config.pu+"/user/username/isavailable",type:"post",dataType:"json",data:getPuParams()}},pwd:{required:!0,regexp:/^.{6,15}$/},code:{required:!0,regexp:/^\d{6}$/},agree:{required:!0}},this.messages={user_name:{required:"手机号不正确",regexp:"手机号不正确",remote:{401:"该手机号已注册"}},pwd:{required:"密码长度不正确",regexp:"密码长度不正确"}},agree:{required:"请勾选用户协议"}}},bindEvent:function(){this.bindForm(),this.bindInputClear(),this.bindTogglePwd(),this.bindAgreement(),this.bindReLogin(),this.bindSendCode({type:1})},bindAgreement:function(){var e=this,t=$("#agree");$("#__agreement").on("tap",function(){var i=$(this),n=$("#"+i.attr("data-target"));i.toggleClass("state-checked"),i.hasClass("state-checked")?(n.data("error")||n.removeClass(e.clsDisabled),t.attr("checked",!0),e.forbiddenSubmit=!1):(n.addClass(e.clsDisabled),t.attr("checked",null),e.forbiddenSubmit=!0)})},submitHandler:function(e){var t=this,i=getPuParams(),n=$.trim($("#phone").val()),r=$.trim($("#password").val()),s=$.trim($("#codeVal").val());i.un=n,i.pd=t.encodePassword(r),i.code=s,F.request(F.config.pu+"/user/phone/register",i,function(e){200==e.code&&(callAppJsBridge("registerSuccess",{user_name:e.user_name,user_id:e.user_id,token:e.token}),t.successTpl("注册成功",!0))},{type:"POST"}).always(function(i){i&&200==i.code||t.showTip(i.code&&t.MAP_COMMON[i.code]||"注册接口或网络异常"),e&&e.call(null,Array.prototype.slice.call(arguments))})}});t.init()});</script>
</literal>
<literal>
<script type="text/javascript">
    (function () {
        var sc = document.createElement('script');
        sc.src = 'http://s95.cnzz.com/z_stat.php?id=1254166187&web_id=1254166187';
        document.documentElement.firstChild.appendChild(sc);
    })();
    (function () {
        function _send(url) {
            if (!url) {
                return;
            }
            var $image = document.createElement('img');
            $image.src = url;
        }

        var aryUrls = ['http://irs01.com/irt?_iwt_t=i&_iwt_id=&_iwt_UA=UA-funshion-000008&r=' + (+new Date()), 'http://mc.funshion.com/interface/mc?mcid=3702'];
        $.each(aryUrls, function (i, v) {
            _send(v);
        });
    })();
</script>
</literal>

 <script src="http://cpro.baidustatic.com/cpro/ui/cm.js" type="text/javascript"></script>
</body>
</html>
